package chuishop.yiqimaicai.pojo;
//订单明细
public class Orderform {
    private Integer oid;    //订单id
    private Integer ohid;   //订单头id
    private Integer gid;    //商品id
    private Integer sid;    //供应商id
    private String gimage;  //商品图片
    private String gname;   //商品名
    private Double gprice;  //单价
    private Integer cnum;   //数量1

    public Orderform() {
    }

    public Orderform(Integer oid, Integer ohid, Integer gid, Integer sid, String gimage, String gname, Double gprice, Integer cnum) {
        this.oid = oid;
        this.ohid = ohid;
        this.gid = gid;
        this.sid = sid;
        this.gimage = gimage;
        this.gname = gname;
        this.gprice = gprice;
        this.cnum = cnum;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getOhid() {
        return ohid;
    }

    public void setOhid(Integer ohid) {
        this.ohid = ohid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getGimage() {
        return gimage;
    }

    public void setGimage(String gimage) {
        this.gimage = gimage;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public Double getGprice() {
        return gprice;
    }

    public void setGprice(Double gprice) {
        this.gprice = gprice;
    }

    public Integer getCnum() {
        return cnum;
    }

    public void setCnum(Integer cnum) {
        this.cnum = cnum;
    }
}
